<?php

// show off: template
require_once("configuration.php");
require_once("includes/io.php");
require_once("includes/template.php");
require_once("includes/category.php");
require_once("includes/function.php");
// INIT VARIABLES
$categories = "";
$menu_rows = "";
$template = new template("default");
// Category section
require_once("includes/list.categories.php");
// cart
require_once("includes/function.number.php");
require_once("includes/product.php");
require_once("includes/cart.php");
require_once("includes/list.cart.php");
// Navigator
require_once("includes/page.php");
require_once("includes/list.menu.php");
// ACTIONs


eval("\$testimonials = \"" . $template->get("element.testimonial") . "\";");
eval("\$content = \"" . $template->get("about.content") . "\";");
eval("\$cart = \"" . $template->get("body.cart") . "\";");
eval("\$header = \"" . $template->get("header") . "\";");
eval("\$menu = \"" . $template->get("menu") . "\";");
eval("\$body = \"" . $template->get("body") . "\";");
eval("\$footer = \"" . $template->get("footer") . "\";");
eval("\$index = \"" . $template->get("index") . "\";");

// display all
echo ($index); // can use echo $template->compress($index) to compress size of html

require_once("configuration.end.php");
?>